package com.example.mask.maskmobilesshop.enums;

/**
 * 系统所有类型枚举
 * 
 * @ClassName: Types
 * @author: Xlh
 * @date 2017年1月22日 上午10:01:34
 */
public enum Types {

	APP_INDEX_TYPE_BANNER(1, " banner"), // 轮播图

	APP_INDEX_TYPE_NAV(2, "nav"), // 导航栏

	APP_NAV_TYPE_NEWS(1, "news"), // 导航栏 上新

	APP_NAV_TYPE_HOTS(2, "hots"), // 导航栏 爆款

	APP_NAV_TYPE_RECS(3, "recs"), // 导航栏 推荐

	APP_NAV_TYPE_PRES(4, "pres"), // 导航栏 预定

	SEX_M(1, "男"),

	SEX_F(2, "女"),

	YES(1, "是"),

	NO(0, "否"),

	PRODUCT_BASE_ATTR_SALE(1, "销售属性"),

	PRODUCT_BASE_ATTR_BASIC(2, "基本属性"),

	PRODUCT_BASE_ATTR_COMMON(3, "公共属性"),

	IMAGE_TYPE_INDEX(1, "首页展示图"),

	IMAGE_TYPE_ROTA(2, "商品轮播图"),

	IMAGE_TYPE_SHARE(3, "朋友圈分享图"),

	IMAGE_TYPE_VIDEO(4, "小视频"),

	PROMOTION_TYPE_MJ(1, "满减"),

	PROMOTION_TYPE_MZ(2, "满折"),

	PROMOTION_TYPE_DZ(3, "打折"),

	PROMOTION_TYPE_MS(4, "秒杀"),

	PROMOTION_TYPE_DPH(5, "单品拼货"),

	PROMOTION_TYPE_ZPH(6, "主题拼货"),

	ORDER_TYPE_AZ(1, "正价订单"),

	ORDER_TYPE_AP(2, "拼团订单"),

	ORDER_TYPE_AC(3, "促销订单"),

	ORDER_TYPE_AH(4, "混合订单"),

	ORDER_TYPE_BD(5, "调换订单"),

	ORDER_TYPE_AD(6, "预定订单"),

	ORDER_TYPE_AB(7, "补货订单"),

	PAYMENT_TYPE_ALIPAY(1, "支付宝支付"),

	PAYMENT_TYPE_WECHAT(2, "微信支付"),

	PAYMENT_TYPE_YINLIAN(3, "银联支付"),

	MEMBER_HEAD_IMAGE(1, "用户头像"),

	MEMBER_BACK_IMAGE(2, "背景图"),

	ITEM_RETREAT(0,"商品退"),
	
	ITEM_BARTER(1,"商品换"),
	
	COUPON_TYPE_DX(1,"抵现"),
	
	COUPON_TYPE_ZK(2,"折扣");
	
	private int index;

	private String typeStr;

	private Types(int index, String typeStr) {
		this.index = index;
		this.typeStr = typeStr;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public String getTypeStr() {
		return typeStr;
	}

	public void setTypeStr(String typeStr) {
		this.typeStr = typeStr;
	}

}
